<?xml version="1.0" encoding="UTF-8"?>
<ui:composition
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
	template="/WEB-INF/templates/public/default.xhtml"
>

	<ui:define name="head">
		<h:outputStylesheet name="css/public/iconfont2.css" />
		<h:outputStylesheet name="css/public/iconfont.css" />
		<h:outputStylesheet name="css/public/table.css" />
		<style type="text/css">
			div.minglu-box a > div {
				height: 100%;
			}
			
		</style>
		
		<script type="text/javascript">
			$(function () {
				$(".slideTxtBox").slide({
					effect:"fold",
					autoPlay:false,
					easing:"easeOutCirc",
					delayTime:200,
					targetCell: '.hd span ul'
				});
			});			
		</script>
	</ui:define>

	<ui:define name="content">
	
		<!--中介机构主页面-->
		<div class="sub_wrap_none">
			<div class="sub_box1">
				<!--采购公告、中选公告开始-->
				<div class="slideTxtBox slideTxtBox2 fleft">
					<div class="hd">
						<ul>
							<li>采购公告</li>
							<li>中选公示</li>
							<li>结果公告</li>
						</ul>
					</div>
					<div class="bd">
						<div>
							<span style="float: right; margin-top: -30px;">							
								<p:link outcome="/public/BulletinArticleList.xhtml" value="更多...">
								</p:link>														
							</span>
							<ul style="display:none">
								<p:repeat var="_bulletin" value="#{audittedBulletinList.resultList}" size="#{audittedBulletinList.resultCount &gt; 7 ? 7 : audittedBulletinList.resultCount}">
									<li>
										<span>
											<h:outputText value="#{_bulletin.auditTime}">
												<f:convertDateTime pattern="MM-dd"/>
											</h:outputText>
										</span>
										<p:link  outcome="/public/BulletinArticleView.xhtml" value="#{_bulletin.title}" target="_blank">
											<f:param name="bulletinId" value="#{_bulletin.id}"></f:param>
											<f:param name="showSupplier" value="false"></f:param>
											<f:param name="bulletinTitle" value="采购公告"></f:param>
										</p:link>										
									</li>
								</p:repeat>
							</ul>
							<table border="1" class="reqTable table">
								<tr >
									<th class="firstTh">项目名称</th>
									<th class="secondTh">资质要求</th>
									<th class="thirdTh">日期</th>
								</tr>
								<p:repeat  var="_bulletin" value="#{audittedBulletinList.resultList}" size="#{audittedBulletinList.resultCount &gt; 6 ? 6 : audittedBulletinList.resultCount}">
									<tr >
										<td>
											<c:set var="title" value="关于为#{_bulletin.projectName}选取中介服务的公告">
											</c:set>
											<p:link  outcome="/public/BulletinArticleView.xhtml" title="#{title}" target="_blank">
												<f:param name="bulletinId" value="#{_bulletin.id}"></f:param>
												<f:param name="showSupplier" value="false"></f:param>
												<f:param name="bulletinTitle" value="采购公告"></f:param>
												#{title}
											</p:link>	
										</td>
										<td>
											<h:outputText value="#{_bulletin.bulletinReqStr}" title="#{_bulletin.bulletinReqStr}" />
										</td>
										<td class="centerTd">
											<h:outputText value="#{_bulletin.auditTime}">
												<f:convertDateTime pattern="MM-dd"/>
											</h:outputText>
										</td>					
									</tr>
								</p:repeat>
							</table>
						</div>
						<div>
							<span style="float: right; margin-top: -30px;">							
								<p:link outcome="/public/PublicityBulletinArticleList.xhtml" value="更多...">
								</p:link>														
							</span>
							<ul style="display:none">
								<p:repeat var="_bulletin" value="#{publicityBulletinList.resultList}" size="#{publicityBulletinList.resultCount &gt; 7 ? 7 : publicityBulletinList.resultCount}">
									<li>
										<span>
											<h:outputText value="#{_bulletin.chooseTime}">
												<f:convertDateTime pattern="MM-dd"/>
											</h:outputText>
										</span>
										<p:link outcome="/public/ShowingBulletinArticleView.xhtml" value="#{_bulletin.getShowingBulletinTitle()}" target="_blank">
											<f:param name="bulletinId" value="#{_bulletin.id}"></f:param>
											<f:param name="showSupplier" value="true"></f:param>
											<f:param name="bulletinTitle" value="中选公示"></f:param>
										</p:link>										
									</li>
								</p:repeat>
							</ul>
							<table border="1" class="reqTable table">
								<tr >
									<th class="firstTh">项目名称</th>
									<th class="secondTh">资质要求</th>
									<th class="thirdTh">日期</th>
								</tr>
								<p:repeat  var="_bulletin" value="#{publicityBulletinList.resultList}" size="#{publicityBulletinList.resultCount &gt; 6 ? 6 : publicityBulletinList.resultCount}">
									<tr >
										<td>
											<c:set var="title" value="关于为#{_bulletin.projectName}中选结果的公示">
											</c:set>
											<p:link  outcome="/public/ShowingBulletinArticleView.xhtml" title="#{title}" target="_blank">
												<f:param name="bulletinId" value="#{_bulletin.id}"></f:param>
												<f:param name="showSupplier" value="true"></f:param>
												<f:param name="bulletinTitle" value="中选公示"></f:param>
												#{title}
											</p:link>	
										</td>
										<td>
											<h:outputText value="#{_bulletin.bulletinReqStr}" title="#{_bulletin.bulletinReqStr}" />
										</td>
										<td class="centerTd">
											<h:outputText value="#{_bulletin.chooseTime}">
												<f:convertDateTime pattern="MM-dd"/>
											</h:outputText>
										</td>					
									</tr>
								</p:repeat>
							</table>
						</div>
						<div>
							<span style="float: right; margin-top: -30px;">							
								<p:link outcome="/public/AgreedBulletinArticleList.xhtml" value="更多...">
									
								</p:link>														
							</span>
							<ul style="display:none">
								<p:repeat var="_bulletin" value="#{agreedBulletinList.resultList}" size="#{agreedBulletinList.resultCount &gt; 7 ? 7 : agreedBulletinList.resultCount}">
									<li>
										<span>
											<h:outputText value="#{_bulletin.getAgreedBulletinDate()}">
												<f:convertDateTime pattern="MM-dd"/>
											</h:outputText>
										</span>
										<p:link outcome="/public/AgreedBulletinArticleView.xhtml" value="#{_bulletin.getAgreedBulletinTitle()}" target="_blank">
											<f:param name="bulletinId" value="#{_bulletin.id}"></f:param>
											<f:param name="showSupplier" value="true"></f:param>
											<f:param name="bulletinTitle" value="结果公告"></f:param>
											<f:param name="title" value="#{title}"></f:param>
										</p:link>										
									</li>
								</p:repeat>									
							</ul>
							
							<table border="1" class="reqTable table">
								<tr >
									<th class="firstTh">项目名称</th>
									<th class="secondTh">资质要求</th>
									<th class="thirdTh">日期</th>
								</tr>
								<p:repeat  var="_bulletin" value="#{agreedBulletinList.resultList}" size="#{agreedBulletinList.resultCount &gt; 6 ? 6 : agreedBulletinList.resultCount}">
									<tr >
										<td>
											<c:set var="title" value="关于为#{_bulletin.projectName}选取结果的公告">
											</c:set>
											<p:link  outcome="/public/AgreedBulletinArticleView.xhtml" title="#{title}" target="_blank">
												<f:param name="bulletinId" value="#{_bulletin.id}"></f:param>
												<f:param name="showSupplier" value="true"></f:param>
												<f:param name="bulletinTitle" value="结果公告"></f:param>
												#{title}
											</p:link>	
										</td>
										<td>
											<h:outputText value="#{_bulletin.bulletinReqStr}" title="#{_bulletin.bulletinReqStr}" />
										</td>
										<td class="centerTd">
											<h:outputText value="#{_bulletin.getAgreedBulletinDate()}">
												<f:convertDateTime pattern="MM-dd"/>
											</h:outputText>
										</td>					
									</tr>
								</p:repeat>
							</table>
						</div>
					</div>
				</div>
				<!--采购公告、中选公告结束-->
			</div>
			<div class="sub_box2">
				<div class="sub_box_tit">
					<h2>
						<span>监督评价</span>
						<p:link outcome="SupplierList.xhtml">
							更多>>
						</p:link>						
					</h2>
					<div class="jiandu-content">
						<ul style="min-height: 231px">
							<p:repeat var="_ss" value="#{bestServiceSupplierList.resultList}" size="#{bestServiceSupplierList.resultCount &gt; 7 ? 7 : bestServiceSupplierList.resultCount}">
								<li>
									<p:link outcome="/public/SupplierView.xhtml">
										<f:param name="serviceSupplierId" value="#{_ss.id}"></f:param>
										<h:outputText value="#{_ss.cnname}" />										
									</p:link>									
									<p:rating value="#{_ss.intScore}" readonly="true" style="display: inline;" stars="5" />
								</li>
							</p:repeat>
						</ul>
					</div>
				</div>
			</div>
			<div class="clearb"></div>
			
			<ui:insert name="exhibition" />
			

			<div class="sub_box3">
				<div class="sub_box_tit">
					<h2>
						<span>中介名录</span>
						<p:link outcome="/public/allClass.xhtml">
							更多>>	
						</p:link>
					</h2>
					<div class="sub_jgml">
						<div class="minglu-box">
							<ul>
								<li>
									<p:link outcome="SupplierList.xhtml">
										<div>
											<i class="iconfont icon-cehuiyudili"></i>
											<p>测绘资质</p>
										</div>						
										<f:param name="qClassName" value="测绘资质"></f:param>													
									</p:link>
								</li>
								<li>
									<p:link outcome="SupplierList.xhtml">	
										<div>
											<i class="iconfont icon-chengxiangyongdi"></i>
											<p>城乡规划编制资质 </p>
										</div>
										<f:param name="qClassName" value="城乡规划编制资质"></f:param>
									</p:link>
								</li>
								<li>
									<p:link outcome="SupplierList.xhtml">
										<div>
											<i class="iconfont icon-zaihaipinggu"></i>
											<p>地质灾害地理工程施工单位 </p>
										</div>
										<f:param name="qClassName" value="地质灾害地理工程施工单位"></f:param>
									</p:link>
								</li>
								<li>
									<p:link outcome="SupplierList.xhtml">
										<div>
											<i class="iconfont icon-zichanpinggu"></i>
											<p>房地产价格评估资质 </p>
										</div>
										<f:param name="qClassName" value="房地产价格评估资质"></f:param>
									</p:link>
								</li>
								<li>
									<p:link outcome="SupplierList.xhtml">
										<div>
											<i class="iconfont icon-icon03"></i>
											<p>工程监理资质 </p>
										</div>
										<f:param name="qClassName" value="工程监理资质"></f:param>
									</p:link>
								</li>
								<li>
									<p:link outcome="SupplierList.xhtml">
										<div>
											<i class="iconfont icon-gongchengkancha"></i>
											<p>公路工程 </p>
										</div>
										<f:param name="qClassName" value="公路工程"></f:param>
									</p:link>
								</li>
								<li>
									<p:link outcome="SupplierList.xhtml">
										<div>
											<i class="iconfont icon-gongchengsheji"></i>
											<p>工程设计</p>
										</div>
										<f:param name="qClassName" value="工程设计"></f:param>
									</p:link>
								</li>
								<li>
									<p:link outcome="SupplierList.xhtml">
										<div>
											<i class="iconfont icon-gongchengzaojia"></i>
											<p>工程造价咨询资质 </p>
										</div>
										<f:param name="qClassName" value="工程造价咨询资质"></f:param>
									</p:link>
								</li>
								<li>
									<p:link outcome="SupplierList.xhtml">
										<div>
											<i class="iconfont icon-zhaobiaodaili"></i>
											<p>工程招标代理资质 </p>
										</div>
										<f:param name="qClassName" value="工程招标代理资质"></f:param>
									</p:link>
								</li>
								<li>
									<p:link outcome="SupplierList.xhtml">
										<div>
											<i class="iconfont icon-xiangmuzixun"></i>
											<p>代理记账 </p>
										</div>
										<f:param name="qClassName" value="代理记账许可"></f:param>
									</p:link>
								</li>
								<li>
									<p:link outcome="SupplierList.xhtml">
										<div>
											<i class="iconfont icon-lvshishiwusuo"></i>
											<p>会计师事务所</p>
										</div>
										<f:param name="qClassName" value="会计师事务所"></f:param>
									</p:link>
								</li>
								<li>
									<p:link outcome="SupplierList.xhtml">
										<div>
											<i class="iconfont icon-pingjia"></i>
											<p>建设项目环境影响评价资质 </p>
										</div>
										<f:param name="qClassName" value="建设项目环境影响评价资质"></f:param>
									</p:link>
								</li>
								<li>
									<p:link outcome="SupplierList.xhtml">
										<div>
											<i class="iconfont icon-jiaotong"></i>
											<p>城市园林绿化工程 </p>
										</div>
										<f:param name="qClassName" value="城市园林绿化工程"></f:param>
									</p:link>
								</li>
								<li>
									<p:link outcome="SupplierList.xhtml">
										<div>
											<i class="iconfont icon-renyuanfangkong"></i>
											<p>人防工程监理 </p>
										</div>
										<f:param name="qClassName" value="人防工程监理"></f:param>
									</p:link>
								</li>
							</ul>
						</div>
					</div>
				</div>
			</div>
			<div class="sub_box4">
				<div class="sub_box_tit">
					<h2>
						<span>服务指南</span>
						<ui:remove>
							<p:link outcome="CategoryList.xhtml">
								更多>>
							</p:link>	
						</ui:remove>					
					</h2>
					<div class="sub_fwzn">
						<ul>
							<li class="sevice1">
								<p:link outcome="ArticleList.xhtml">
									<i class="iconfont icon-ptjs"></i>
									<p>平台介绍</p>
									<f:param name="categoryId" value="#{categoryList.nameMap['平台介绍'].id}"></f:param>
								</p:link>
							</li>
							<li class="sevice2">
								<p:link outcome="ArticleList.xhtml">
									<i class="iconfont icon-zhinan"></i>
									<p>入驻指南</p>
									<f:param name="categoryId" value="#{categoryList.nameMap['入驻指南'].id}"></f:param>
								</p:link>
							</li>
							<li class="sevice3">
								<p:link outcome="ComplaintNav.xhtml">
									<i class="iconfont icon-chaxunzixuntousu"></i>
									<p>咨询投诉</p>
								</p:link>
							</li>
							<li class="sevice4">
								<p:link outcome="ArticleList.xhtml">
									<i class="iconfont icon-ziliaoxiazai"></i>
									<p>资料下载</p>
									<f:param name="categoryId" value="#{categoryList.nameMap['资料下载'].id}"></f:param>
								</p:link>
							</li>
							<li class="sevice5">
								<p:link outcome="ArticleList.xhtml">
									<i class="iconfont icon-zhengcefagui"></i>
									<p>政策法规</p>
									<f:param name="categoryId" value="#{categoryList.nameMap['政策法规'].id}"></f:param>
								</p:link>
							</li>
							<li class="sevice6">
								<p:link outcome="/register/checkProcess.xhtml">
									<i class="iconfont icon-yonghuming"></i>
									<p>进度查询</p>									
								</p:link>
							</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		
		<ui:include src="/WEB-INF/templates/public/include/copyRight.xhtml"></ui:include>
	</ui:define>

</ui:composition>
